package com.shxc.smarttrade.old.bean;

import java.util.List;

/**
 * Created by jcdev1 on 2017/6/9.
 */

public class PaymentInfo extends ErrorStatus {

    /**
     * page : {"pageSize":10,"currentPage":1,"totalNum":0,"pageNum":null}
     * data : {"payment":[{"status":-1,"direction":-1,"rmbAmount":-50,"usdAmount":-50,"parity":1,"time":"2017-06-08 20:32:16"},{"status":-1,"direction":-1,"rmbAmount":-30,"usdAmount":-30,"parity":1,"time":"2017-06-08 20:00:46"},{"status":-1,"direction":-1,"rmbAmount":-21,"usdAmount":-21,"parity":1,"time":"2017-06-08 19:47:57"},{"status":-1,"direction":-1,"rmbAmount":-20,"usdAmount":-20,"parity":1,"time":"2017-06-08 19:45:40"},{"status":-1,"direction":-1,"rmbAmount":-20,"usdAmount":-20,"parity":1,"time":"2017-06-08 19:40:26"},{"status":-1,"direction":-1,"rmbAmount":-20,"usdAmount":-20,"parity":1,"time":"2017-06-08 19:36:15"},{"status":-1,"direction":-1,"rmbAmount":-21,"usdAmount":-21,"parity":1,"time":"2017-06-08 18:04:04"},{"status":-1,"direction":-1,"rmbAmount":-20,"usdAmount":-20,"parity":1,"time":"2017-06-08 18:01:12"},{"status":-5,"direction":-1,"rmbAmount":-20,"usdAmount":-20,"parity":1,"time":"2017-06-08 17:49:59"},{"status":-5,"direction":-1,"rmbAmount":-20,"usdAmount":-20,"parity":1,"time":"2017-06-08 17:45:09"}]}
     */

    private PageBean page;
    private DataBean data;

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class PageBean {
        /**
         * pageSize : 10
         * currentPage : 1
         * totalNum : 0
         * pageNum : null
         */

        private int pageSize;
        private int currentPage;
        private int totalNum;
        private Object pageNum;

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getTotalNum() {
            return totalNum;
        }

        public void setTotalNum(int totalNum) {
            this.totalNum = totalNum;
        }

        public Object getPageNum() {
            return pageNum;
        }

        public void setPageNum(Object pageNum) {
            this.pageNum = pageNum;
        }
    }

    public static class DataBean {
        private List<PaymentBean> payment;

        public List<PaymentBean> getPayment() {
            return payment;
        }

        public void setPayment(List<PaymentBean> payment) {
            this.payment = payment;
        }

        public static class PaymentBean {
            /**
             * status : -1
             * direction : -1
             * rmbAmount : -50
             * usdAmount : -50
             * parity : 1
             * time : 2017-06-08 20:32:16
             */

            private int status;
            private int direction;
            private double rmbAmount;
            private double usdAmount;
            private double parity;
            private String time;

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getDirection() {
                return direction;
            }

            public void setDirection(int direction) {
                this.direction = direction;
            }

            public double getRmbAmount() {
                return rmbAmount;
            }

            public void setRmbAmount(double rmbAmount) {
                this.rmbAmount = rmbAmount;
            }

            public double getUsdAmount() {
                return usdAmount;
            }

            public void setUsdAmount(double usdAmount) {
                this.usdAmount = usdAmount;
            }

            public double getParity() {
                return parity;
            }

            public void setParity(double parity) {
                this.parity = parity;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }
        }
    }
}
